@charset 'utf-8';
@import 'common';

// 主体内容
.middle {
    width: 900px;
    margin: 45px auto 0;
    margin-top: 45px;
    border-top: 1px solid #6db6ff;
    box-sizing: border-box;
}

// 面包屑
.bread {
    width: 100%;
    position: relative;
    height: 30px;
    line-height: 30px;
    z-index: 2;
    box-sizing: border-box;
    padding-left: 10px;
    font-size: 16px;
    font-family: $font;


    // 直角梯形
    .trapezoid {
        position: absolute;
        top: 0;
        left: 0;
        border-width: 30px 20px 0 0;
        border-style: solid;
        border-color: #6db6ff rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
        width: 75px;
        z-index: -1;
    }

    .current {
        color: rgb(255, 255, 255);
    }

    span:nth-child(2) {
        padding: 0 0 0 15px;
    }
}

// 分类
.category {
    margin: 30px 0 25px 0;

    .category-item {
        @include reuse-flex;
        align-items: center;
        margin-bottom: 5px;

        .icon {
            width: 38px;
            height: 38px;
        }

        .type {
            background: url('../image/list/icon-type.png') center;
        }

        .trade {
            background: url('../image/list/icon-cup.png') center;
        }

        .city {
            background: url('../image/list/icon-trade.png') center;
        }

        .type-item,
        .city-item,
        .trade-item {
            @include reuse-flex;
            align-items: baseline;
            font-family: $font;

            span {
                font-size: 16px;
                padding: 0 0 0 10px;
            }

            ul {
                @include reuse-flex;
                align-items: center;

                li {
                    font-size: 12px;
                    margin-right: 5px;
                    box-sizing: border-box;
                    cursor: pointer;
                }

                li.active {
                    font-size: 14px;
                    color: $color;
                }
            }
        }
    }
}

// 表格
.table {
    width: 100%;
    background: #fafafa;
    border-bottom: 1px solid #b6daff;
    position: relative;
    box-shadow: 5px 5px 80px rgba(250, 250, 250, 0.07);

    /* 表格 */
    .fx {
        width: 900px;
        justify-content: space-between;
        position: absolute;
        top: -5px;
        left: 0;
    }

    .fx,
    .item {
        display: flex;
        align-items: baseline;
    }

    // .item {
    //     box-shadow: 5px 5px 80px rgba(0, 0, 0, 0.07);
    // }

    .rectangle {
        width: 75px;
        height: 35px;
        background: #fafafa;
        border-top: 1px solid #b6daff;
    }

    .triangle {
        width: 0;
        height: 0;
        border-width: 18px 10px;
        border-style: solid;
        border-color: transparent transparent #b6daff #b6daff;
    }

    .slef {
        border-color: transparent #b6daff #b6daff transparent;
    }

    table {
        tr:nth-child(1) {
            background: #fff;
            border-bottom: 1px solid #b6daff;
        }

        tr {
            text-align: center;
            padding: 15px 0;
            // box-sizing: border-box;
            height: 30px;
            line-height: 30px;


            th {
                font-family: $font;
                font-size: 16px;
                font-weight: bold;
            }

            td {
                font-size: 12px;
                font-family: "Microsoft YaHei";
                color: rgb(0, 0, 0);
            }
        }
    }
}

// 分页
.page {
    @include reuse-flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;

    ul {
        @include reuse-flex;

        li {
            width: 18px;
            height: 18px;
            background: #e5e5e5;
            margin-right: 15px;
            line-height: 18px;
            text-align: center;
            border: 1px solid #e9e9e9;
            padding: 5px;
            cursor: pointer;
        }

        li.active {
            background: $color;
        }

        .prev,
        .next {
            width: 50px;
            padding: 5px;
        }

    }
}